package com.kingsoft.miot.bridge.pojo;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 服务商基本参数
 * 
 * @author HUJIANQING
 *
 */
public class ServiceAuth {

	// 服务接口url
	@NotBlank(message = "服务接口不能为空")
	private String serviceUrl;
	// 服务商提供用户组id
	private String groupId;
	// 私钥
	@NotBlank(message = "私钥不能为空。")
	private String privateKey;
	// 待验证的公钥
	@NotBlank(message = "公钥不能为空。")
	private String publicKey;

	public String getServiceUrl() {
		return serviceUrl;
	}
	public void setServiceUrl(String serviceUrl) {
		this.serviceUrl = serviceUrl;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public String getPublicKey() {
		return publicKey;
	}

	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}

}
